package com.wjbgn.electronicnian.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * Description: 年兽说的话
 * Create Date: 2022-01-22T15:50:35.292688500
 * @author weirx
 * @version 1.0
 */
@Data
@TableName(value = "nian_say_log")
public class NianSayLogDO {

        /**
         * 
         */
        @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        /**
         * 年兽id
         */
    private Long nianId;

        /**
         * 年兽说过的话
         */
    private String nianWords;

        /**
         * 
         */
        @TableField(fill = FieldFill.INSERT)
        @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

        /**
         * 
         */
        @TableField(fill = FieldFill.INSERT_UPDATE)
        @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

        /**
         * 
         */
    private Integer isDelete;

}
